<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
    "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-hans" version="XHTML+RDFa 1.0" dir="ltr"
      xmlns:content="http://purl.org/rss/1.0/modules/content/"
      xmlns:dc="http://purl.org/dc/terms/"
      xmlns:foaf="http://xmlns.com/foaf/0.1/"
      xmlns:og="http://ogp.me/ns#"
      xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
      xmlns:sioc="http://rdfs.org/sioc/ns#"
      xmlns:sioct="http://rdfs.org/sioc/types#"
      xmlns:skos="http://www.w3.org/2004/02/skos/core#"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema#">

    <head profile="http://www.w3.org/1999/xhtml/vocab">
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link rel="shortcut icon" href="http://www.drupalmodule.cn/misc/favicon.ico" type="image/vnd.microsoft.icon" />
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        <meta name="HandheldFriendly" content="true" />
        <meta name="MobileOptimized" content="width" />
        <title>创建 模块 | Drupal模块中文社区</title>  
        <link type="text/css" rel="stylesheet" href="/../Thinkphp/Public/Home/drupal/module/add/Css/css_pbm0lsQQJ7A7WCCIMgxLho6mI_kBNgznNUWmTWcnfoE.css" media="all" />
        <link type="text/css" rel="stylesheet" href="/../Thinkphp/Public/Home/drupal/module/add/Css/css_2094HnqN3RUeQWQ_YrkRnt7KnlOvDBN2tuNGcYlw79M.css" media="all" />
        <link type="text/css" rel="stylesheet" href="/../Thinkphp/Public/Home/drupal/module/add/Css/css_Cx48HlOuWTngD7fw5cfwbWKTzPJ_AkBifrLBmdsLRFE.css" media="all" />
        <link type="text/css" rel="stylesheet" href="/../Thinkphp/Public/Home/drupal/module/add/Css/css_j0rrVI4UDLa7V-HMP5a8CdxijgU0VCu9JhGVnA1Em3s.css" media="all" />
        <link type="text/css" rel="stylesheet" href="/../Thinkphp/Public/Home/drupal/module/add/Css/css_TGJb4peQX-zPXkYpaPJ84mCM5BpWmXDDxHM6QS3jZis.css" media="all and (min-width: 980px)" />
        <link type="text/css" rel="stylesheet" href="/../Thinkphp/Public/Home/drupal/module/add/Css/css_KewDO5wEEsc7lN4pHuveACu0xsD2jrJhTUcVZmmWkVs.css" media="all and (min-width: 760px) and (max-width: 980px)" />
        <link type="text/css" rel="stylesheet" href="/../Thinkphp/Public/Home/drupal/module/add/Css/css_Ody3Rnnxl1jUn-gSkZfNONZA3PvWask0tHZzQnHYUIU.css" media="all and (max-width: 760px)" />
        <link type="text/css" rel="stylesheet" href="/../Thinkphp/Public/Home/drupal/module/add/Css/css_G7d4jTAqqC-E-P7UGC_WVPsFqh6129BUZ6R93sr2VEs.css" media="all" />
        <link type="text/css" rel="stylesheet" href="/../Thinkphp/Public/Home/drupal/module/add/Css/css_GuSEpP2lwqvsLeIWStvzhQrrN2ww3X-RDV6OB0n8IWg.css" media="all and (min-width: 1100px)" />
        <link type="text/css" rel="stylesheet" href="/../Thinkphp/Public/Home/drupal/module/add/Css/css_IgXS7VgEXZU9AzvH7ah67M2BLmMBlNOj67ZgKaqGU_g.css" media="all" />

        <!--[if (lte IE 8)&(!IEMobile)]>
        <link type="text/css" rel="stylesheet" href="./Css/basic-layout.css" media="all" />
        <![endif]-->

        <!--[if (lte IE 8)&(!IEMobile)]>
        <link type="text/css" rel="stylesheet" href="./Css/ie.css" media="all" />
        <![endif]-->


        <script type="text/javascript" src="/../Thinkphp/Public/Home/Javascript/js_0gj6QcpfRH2jzTbCQqf7kEkm4MXY0UA_sRhwPc8jC1o.js"></script>
        <script type="text/javascript" src="/../Thinkphp/Public/Home/Javascript/js_P6gPFnQGauwcDGUl_fFKP0DQ8ntV1IJj-h8OS_4JlLE.js"></script>
        <script type="text/javascript" src="/../Thinkphp/Public/Home/Javascript/js_EciWIiOkPgpR0bOsN_RAeLNN_xG1Qdu7TrbhIAO_frs.js"></script>
        <script type="text/javascript" src="/../Thinkphp/Public/Home/Javascript/js_L5QvUVw1V1IV6K_lS7nnCv9xeyxv4WivYfJrDBcLGcs.js"></script>
        <script type="text/javascript" src="/../Thinkphp/Public/Home/Javascript/js_rvXZ5EsLq51Zzd9RjkSbWjyq9nUlF93fsVp15Wn5zqE.js"></script>
        <script type="text/javascript" src="/../Thinkphp/Public/Home/Javascript/ckeditor.js"></script>
        <script type="text/javascript" src="/../Thinkphp/Public/Home/Javascript/js_UJsj7_Fd8bs6heb3DF2_XOKUIvrhM2Mrs1qHmBv11UU.js"></script>
        <script type="text/javascript" src="/../Thinkphp/Public/Home/Javascript/js_NJyXBQf47Om3rUhwyTAuyTamONtZNOTEiPIButlOUcM.js"></script>
        <script type="text/javascript">
            //<![CDATA[//>
        jQuery.extend(Drupal.settings, {"basePath": "/", "pathPrefix": "", "ajaxPageState": {"theme": "dm_theme", "theme_token": "eak3DRVqzWnOYR-xn-785LymNnHqIBWhtCavUb7D_jo", "js": {"sites/all/modules/syntaxhighlighter/syntaxhighlighter.min.js": 1, "sites/all/modules/wysiwyg/wysiwyg.js": 1, "sites/all/modules/jquery_update/replace/jquery/1.7/jquery.min.js": 1, "misc/jquery.once.js": 1, "misc/drupal.js": 1, "sites/all/modules/jquery_update/replace/ui/ui/minified/jquery.ui.core.min.js": 1, "sites/all/modules/jquery_update/replace/ui/ui/minified/jquery.ui.widget.min.js": 1, "sites/all/modules/syntaxhighlighter_insert/syntaxhighlighter_insert.utils.js": 1, "sites/all/modules/syntaxhighlighter_insert/syntaxhighlighter_insert.js": 1, "sites/all/modules/jquery_update/replace/ui/ui/minified/jquery.ui.button.min.js": 1, "sites/all/modules/jquery_update/replace/ui/ui/minified/jquery.ui.mouse.min.js": 1, "sites/all/modules/jquery_update/replace/ui/ui/minified/jquery.ui.draggable.min.js": 1, "sites/all/modules/jquery_update/replace/ui/ui/minified/jquery.ui.position.min.js": 1, "sites/all/modules/jquery_update/replace/ui/ui/minified/jquery.ui.resizable.min.js": 1, "sites/all/modules/jquery_update/replace/ui/ui/minified/jquery.ui.dialog.min.js": 1, "sites/all/modules/views/js/jquery.ui.dialog.patch.js": 1, "sites/all/modules/chosen/chosen.js": 1, "sites/all/modules/jquery_update/replace/ui/external/jquery.cookie.js": 1, "sites/all/modules/jquery_update/replace/misc/jquery.form.min.js": 1, "sites/all/modules/wysiwyg/wysiwyg.init.js": 1, "sites/all/modules/jquery_update/replace/ui/ui/minified/jquery.ui.autocomplete.min.js": 1, "misc/vertical-tabs.js": 1, "misc/form.js": 1, "misc/ajax.js": 1, "sites/all/libraries/syntaxhighlighter/scripts/shCore.js": 1, "sites/all/libraries/syntaxhighlighter/scripts/shBrushBash.js": 1, "sites/all/libraries/syntaxhighlighter/scripts/shBrushDiff.js": 1, "sites/all/libraries/syntaxhighlighter/scripts/shBrushPhp.js": 1, "sites/all/libraries/syntaxhighlighter/scripts/shBrushPython.js": 1, "sites/all/libraries/syntaxhighlighter/scripts/shBrushRuby.js": 1, "sites/all/libraries/syntaxhighlighter/scripts/shBrushSql.js": 1, "sites/all/libraries/syntaxhighlighter/scripts/shBrushXml.js": 1, "misc/tabledrag.js": 1, "public://languages/zh-hans_QfIa0Vliqcy2WYc26LZXAU_N6m9Sizn9jH9Wmxg6ohU.js": 1, "sites/default/modules/dm_global/website.js": 1, "sites/all/modules/captcha/captcha.js": 1, "sites/all/modules/logintoboggan/logintoboggan.js": 1, "misc/autocomplete.js": 1, "sites/all/libraries/chosen/chosen.jquery.min.js": 1, "misc/progress.js": 1, "public://js/wysiwyg/wysiwyg_ckeditor_uWMoMQ7qlhtyf-cFJlMTazsAxhCeS88weKBiAtXujAQ.js": 1, "sites/all/libraries/ckeditor/ckeditor.js": 1, "sites/all/modules/wysiwyg/editors/js/ckeditor-3.0.js": 1, "sites/all/modules/wysiwyg/editors/js/none.js": 1, "sites/all/modules/imce/js/imce.js": 1, "sites/all/modules/imce/js/imce_set_app.js": 1, "sites/all/modules/imce_wysiwyg/js/imce_wysiwyg.js": 1, "sites/all/modules/syntaxhighlighter_insert/syntaxhighlighter_insert_wysiwyg/plugins/syntaxhighlighter_insert_wysiwyg/syntaxhighlighter_insert_wysiwyg.js": 1, "sites/all/libraries/markitup/markitup/jquery.markitup.js": 1, "sites/all/modules/wysiwyg/editors/js/markitup.js": 1, "modules/field/modules/text/text.js": 1, "misc/textarea.js": 1, "modules/filter/filter.js": 1, "modules/file/file.js": 1, "sites/all/modules/autocomplete_deluxe/autocomplete_deluxe.js": 1, "sites/all/libraries/swfupload/swfupload.js": 1, "sites/all/libraries/swfupload/plugins/swfupload.queue.js": 1, "sites/default/themes/dm_theme/js/website.js": 1}, "css": {"modules/system/system.base.css": 1, "modules/system/system.menus.css": 1, "modules/system/system.messages.css": 1, "modules/system/system.theme.css": 1, "modules/system/system.admin.css": 1, "misc/ui/jquery.ui.core.css": 1, "misc/ui/jquery.ui.theme.css": 1, "misc/ui/jquery.ui.button.css": 1, "misc/ui/jquery.ui.resizable.css": 1, "misc/ui/jquery.ui.dialog.css": 1, "sites/all/libraries/chosen/chosen.css": 1, "sites/all/modules/chosen/css/chosen-drupal.css": 1, "misc/ui/jquery.ui.autocomplete.css": 1, "misc/vertical-tabs.css": 1, "modules/book/book.css": 1, "modules/comment/comment.css": 1, "modules/field/theme/field.css": 1, "sites/all/modules/logintoboggan/logintoboggan.css": 1, "modules/node/node.css": 1, "modules/user/user.css": 1, "sites/all/modules/views/css/views.css": 1, "sites/all/modules/ctools/css/ctools.css": 1, "sites/all/libraries/syntaxhighlighter/styles/shCore.css": 1, "sites/all/libraries/syntaxhighlighter/styles/shThemeDefault.css": 1, "sites/all/modules/syntaxhighlighter_insert/syntaxhighlighter_insert_wysiwyg/syntaxhighlighter_insert_wysiwyg.css": 1, "modules/image/image.css": 1, "modules/filter/filter.css": 1, "modules/file/file.css": 1, "sites/all/modules/autocomplete_deluxe/autocomplete_deluxe.css": 1, "sites/all/modules/ocupload/static/styles.css": 1, "sites/all/themes/corporateclean/css/960.css": 1, "sites/all/themes/corporateclean/css/720.css": 1, "sites/all/themes/corporateclean/css/mobile.css": 1, "sites/all/themes/corporateclean/style.css": 1, "sites/all/themes/corporateclean/color/colors.css": 1, "sites/default/themes/dm_theme/css/css.css": 1, "sites/default/themes/dm_theme/css/1100.css": 1, "sites/all/libraries/markitup/markitup/skins/simple/style.css": 1, "sites/all/themes/corporateclean/css/basic-layout.css": 1, "sites/all/themes/corporateclean/css/ie.css": 1}}, "syntaxhighlighter_insert_wysiwyg": {"current_form": "form-MfBoTBfZxwRHzVeqYdMWtTiz1F7K1QbZjFEgqZ44VFw", "clean_url": "1"}, "chosen": {"selector": "select:visible", "minimum_single": 20, "minimum_multiple": 20, "minimum_width": 200, "search_contains": false, "disable_search": false, "disable_search_threshold": 0, "placeholder_text_multiple": "Choose some options", "placeholder_text_single": "Choose an option", "no_results_text": "No results match", "multiple": {"field_version[und]": false, "field_category[und][]": true, "field_module_discription[und][0][format]": false, "field_module_install[und][0][format]": false, "field_example[und][0][format]": false, "field_module_develop[und][0][format]": false}, "max_selected_options": {"field_version[und]": "1", "field_category[und][]": false, "field_module_discription[und][0][format]": false, "field_module_install[und][0][format]": false, "field_example[und][0][format]": false, "field_module_develop[und][0][format]": false}}, "tableDrag": {"edit-field-module-image-und-table": {"edit-field-module-image-und-weight": [{"target": "edit-field-module-image-und-weight", "source": "edit-field-module-image-und-weight", "relationship": "sibling", "action": "order", "hidden": true, "limit": 0}]}, "edit-field-module-file-und-table": {"edit-field-module-file-und-weight": [{"target": "edit-field-module-file-und-weight", "source": "edit-field-module-file-und-weight", "relationship": "sibling", "action": "order", "hidden": true, "limit": 0}]}}, "file": {"elements": {"#edit-field-module-image-und-0-upload": "png,gif,jpg,jpeg", "#edit-field-module-file-und-0-upload": "pdf,tar,zip,ppt,pptx"}}, "ajax": {"edit-field-module-image-und-0-upload-button": {"wrapper": "edit-field-module-image-und-ajax-wrapper", "effect": "fade", "progress": {"type": "throbber", "message": null}, "event": "mousedown", "keypress": true, "prevent": "click", "url": "\/file\/ajax\/field_module_image\/und\/form-e8ZUwEDzL6eTbSavQ60lbLSL-JZQpPqxPH3uDAPUl-w", "submit": {"_triggering_element_name": "field_module_image_und_0_upload_button", "_triggering_element_value": "u4e0au4f20"}}, "edit-field-module-file-und-0-upload-button": {"wrapper": "edit-field-module-file-und-ajax-wrapper", "effect": "fade", "progress": {"type": "throbber", "message": null}, "event": "mousedown", "keypress": true, "prevent": "click", "url": "\/file\/ajax\/field_module_file\/und\/form-e8ZUwEDzL6eTbSavQ60lbLSL-JZQpPqxPH3uDAPUl-w", "submit": {"_triggering_element_name": "field_module_file_und_0_upload_button", "_triggering_element_value": "u4e0au4f20"}}}, "wysiwyg": {"configs": {"ckeditor": {"formatfull_html": {"baseHref": "http://www.drupalmodule.cn/", "width": "auto", "resize_minWidth": 450, "height": 420, "theme": "default", "skin": "moono", "entities_latin": false, "entities_greek": false, "format_tags": "p;address;pre;h2;h3;h4;h5;h6;div", "allowedContent": true, "contentsCss": ["/sites/all/themes/corporateclean/css/960.css", "/sites/all/themes/corporateclean/css/720.css", "/sites/all/themes/corporateclean/css/mobile.css", "/sites/all/themes/corporateclean/style.css", "/sites/all/themes/corporateclean/color/colors.css", "/sites/default/themes/dm_theme/css/css.css", "/sites/default/themes/dm_theme/css/1100.css"], "forcePasteAsPlainText": 0, "language": "en", "simple_source_formatting": 0, "toolbarLocation": "top", "resize_enabled": true, "toolbar": [["Bold", "Italic", "Strike", "JustifyLeft", "JustifyCenter", "JustifyRight", "JustifyBlock", "BidiLtr", "BidiRtl", "BulletedList", "NumberedList", "Outdent", "Indent", "Redo", "Link", "Anchor", "Image", "BGColor", "Subscript", "Blockquote", "Source", "Cut", "PasteFromWord", "ShowBlocks", "SpecialChar", "Font", "FontSize", "Styles", "Replace", "Smiley", "Maximize", "SpellChecker", "Templates", "OCUpload", "syntaxhighlighter_insert_wysiwyg"]], "filebrowserBrowseUrl": "/imce?app=ckeditor%7Csendto%40imceCkeditSendTo%7Cparams%40", "extraPlugins": "OCUpload,syntaxhighlighter_insert_wysiwyg"}}, "markitup": {"formatmarkitup": {"root": "/sites/all/libraries/markitup/markitup/", "nameSpace": "simple", "markupSet": {"bold": {"name": "u52a0u7c97", "className": "markitup-bold", "key": "B", "openWith": "(!(u003Cstrongu003E|!|u003Cbu003E)!)", "closeWith": "(!(u003C/strongu003E|!|u003C/bu003E)!)"}, "italic": {"name": "u503eu659c", "className": "markitup-italic", "key": "I", "openWith": "(!(u003Cemu003E|!|u003Ciu003E)!)", "closeWith": "(!(u003C/emu003E|!|u003C/iu003E)!)"}, "stroke": {"name": "u5220u9664u7ebf", "className": "markitup-stroke", "key": "S", "openWith": "u003Cdelu003E", "closeWith": "u003C/delu003E"}, "link": {"name": "u94feu63a5", "className": "markitup-link", "key": "K", "openWith": "u003Ca href=u0022[![Link:!:http://]!]u0022(!( title=u0022[![Title]!]u0022)!)u003E", "closeWith": "u003C/au003E", "placeHolder": "Your text to link..."}, "image": {"name": "u56feu50cf", "className": "markitup-image", "key": "P", "replaceWith": "u003Cimg src=u0022[![Source:!:http://]!]u0022 alt=u0022[![Alternative text]!]u0022 /u003E"}, "preview": {"name": "u9884u89c8", "className": "markitup-preview", "call": "preview"}}}}}, "plugins": {"formatfull_html": {"native": {"OCUpload": {"path": "/sites/all/modules/ocupload/static/"}}, "drupal": {"syntaxhighlighter_insert_wysiwyg": {"title": "Insert syntaxhighlighter tag", "icon": "/sites/all/modules/syntaxhighlighter_insert/syntaxhighlighter_insert_wysiwyg/plugins/syntaxhighlighter_insert_wysiwyg/images/insert.gif", "iconTitle": "Insert syntaxhighlighter tag", "css": "/sites/all/modules/syntaxhighlighter_insert/syntaxhighlighter_insert_wysiwyg/plugins/syntaxhighlighter_insert_wysiwyg/syntaxhighlighter_insert_wysiwyg.css"}}}, "drupal": {"syntaxhighlighter_insert_wysiwyg": {"path": "/sites/all/modules/syntaxhighlighter_insert/syntaxhighlighter_insert_wysiwyg/plugins/syntaxhighlighter_insert_wysiwyg"}}}, "disable": "\u7981\u7528\u5bcc\u6587\u672c", "enable": "\u542f\u7528\u5bcc\u6587\u672c", "triggers": {"edit-field-module-discription-und-0-format--2": {"field": "edit-field-module-discription-und-0-value", "formatfull_html": {"editor": "ckeditor", "status": 1, "toggle": 1, "resizable": 1}, "formatmarkitup": {"editor": "markitup", "status": 1, "toggle": 1, "resizable": 1}, "formatfiltered_html": {"editor": "none", "status": 1, "toggle": 1, "resizable": 1}, "formatplain_text": {"editor": "none", "status": 1, "toggle": 1, "resizable": 1}}, "edit-field-module-install-und-0-format--2": {"field": "edit-field-module-install-und-0-value", "formatfull_html": {"editor": "ckeditor", "status": 1, "toggle": 1, "resizable": 1}, "formatmarkitup": {"editor": "markitup", "status": 1, "toggle": 1, "resizable": 1}, "formatfiltered_html": {"editor": "none", "status": 1, "toggle": 1, "resizable": 1}, "formatplain_text": {"editor": "none", "status": 1, "toggle": 1, "resizable": 1}}, "edit-field-example-und-0-format--2": {"field": "edit-field-example-und-0-value", "formatfull_html": {"editor": "ckeditor", "status": 1, "toggle": 1, "resizable": 1}, "formatmarkitup": {"editor": "markitup", "status": 1, "toggle": 1, "resizable": 1}, "formatfiltered_html": {"editor": "none", "status": 1, "toggle": 1, "resizable": 1}, "formatplain_text": {"editor": "none", "status": 1, "toggle": 1, "resizable": 1}}, "edit-field-module-develop-und-0-format--2": {"field": "edit-field-module-develop-und-0-value", "formatfull_html": {"editor": "ckeditor", "status": 1, "toggle": 1, "resizable": 1}, "formatmarkitup": {"editor": "markitup", "status": 1, "toggle": 1, "resizable": 1}, "formatfiltered_html": {"editor": "none", "status": 1, "toggle": 1, "resizable": 1}, "formatplain_text": {"editor": "none", "status": 1, "toggle": 1, "resizable": 1}}}}, "autocomplete_deluxe": {"autocomplete-deluxe-input": {"input_id": "autocomplete-deluxe-input", "multiple": true, "required": false, "limit": 10, "min_length": 0, "use_synonyms": 0, "delimiter": "", "type": "ajax", "uri": "http://www.drupalmodule.cn/autocomplete_deluxe/taxonomy/field_module_tags"}}, "ocupload": {"phpsessid": "4wdmSY8o7j1Y-25PcjHMaFIafTvaQehks3Kb5mHHxrg", "sizeLimit": 2097152, "allowedExt": "*.jpg; *.jpeg; *.gif; *.png;", "modulePath": "/sites/all/modules/ocupload", "uploadPath": "/ocupload/upload"}});
            //<!]]>
        </script>

        <script src="/../Thinkphp/Application/Home/View/User/jquery/jquery-3.0.0.js"></script>
        <script type="text/javascript" charset="utf-8" src="/../Thinkphp/Public/library/utf8-php/ueditor.config.js"></script>
        <script type="text/javascript" charset="utf-8" src="/../Thinkphp/Public/library/utf8-php/ueditor.all.min.js"></script>
        <script type="text/javascript" charset="utf-8" src="/../Thinkphp/Public/library/utf8-php/lang/zh-cn/zh-cn.js"></script>
        <style type="text/css">
            div{
                width:100%;
            }        
        </style>
        <script type="text/javascript">
            var ue = UE.getEditor('editor_1');
            var ue = UE.getEditor('editor_2');
            var ue = UE.getEditor('editor_3');
            var ue = UE.getEditor('editor_4');
        </script>
        <script>
            $(function($){
                $("#edit-submit").click(function(){
                    var url="/../Thinkphp/Home/module/doadd";
                    var data={};
                    data['title']=$("#edit-module-name").val();
                    data['version']=$("#edit-field-version-und").val();
                    data['category']=$("#edit-field-category-und").val();   
                    data['captcha']=$("#edit-captcha-response").val();
                    var dataType="json";
                    $.post(
                        url,
                        data,
                       function(data){
//                           console.log(data);return false;
                            if(data.status===0){
                                alert(data.info);
                            }
                           if(data.status===1){
                               alert(data.info);
                           }
                        },
                         dataType      
                  );
                   return false;  
                });
            });
        </script>

    </head>
    <body class="html not-front not-logged-in one-sidebar sidebar-second page-node page-node-add page-node-add-project" >
        <div id="skip-link">
            <a href="#main-content" class="element-invisible element-focusable">跳转到主要内容</a>
        </div>
        <!-- #header -->
        <div id="header">
            <!-- #header-inside -->
            <div id="header-inside" class="container_12 clearfix">
                <!-- #header-inside-left -->
                <div id="header-inside-left" class="grid_8">


                    <div class="clearfix">
                        <span id="site-name"><a href="/../Thinkphp/Home/index/index" title="首页">Drupal模块中文社区</a></span>
                    </div>

                </div><!-- EOF: #header-inside-left -->

                <!-- #header-inside-right -->    
                <div id="header-inside-right" class="grid_4">


                </div><!-- EOF: #header-inside-right -->

            </div><!-- EOF: #header-inside -->

        </div><!-- EOF: #header -->

        <!-- #header-menu -->
        <div id="header-menu">
            <!-- #header-menu-inside -->
            <div id="header-menu-inside" class="container_12 clearfix">

                <div class="grid_12">
                    <div id="navigation" class="clearfix">
                        <div class="region region-navigation">
                            <div id="block-system-main-menu" class="block block-system block-menu">


                                <div class="content">
                                    <ul class="menu"><li class="first leaf"><a href="/../Thinkphp/Home/user/login" title="">首页</a></li>
                                        <li class="leaf"><a href="/../Thinkphp/Home/module/tags">标签云</a></li>
                                        <li class="leaf"><a href="/../Thinkphp/Home/module/users" title="">模块达人</a></li>
                                        <li class="leaf"><a href="/../Thinkphp/Home/FeedBack/feedback">在线反馈</a></li>
                                        <li class="last leaf"><a href="/../Thinkphp/Home/Module/guide">新手指南</a></li>
                                    </ul></div>
                            </div><div id="block-user-login" class="block block-user">


                                <div class="content">
                                    <form action="<?php print U('Home/user/dologin');?>" method="post" id="user-login-form" accept-charset="UTF-8"><div><div id="toboggan-container" class="toboggan-container">
                                                <?php if(session(isLogin)==true){?>
                                                <div id="toboggan-login-link-container" class="toboggan-login-link-container"><a href="<?php print U('/../Home/module/update?id='.session(id));?>" id="toboggan-login-link" class="toboggan-login-link"><?php print session('name');?></a> |    <a href="<?php print U('Home/User/logout');?>">退出</a></div>
                                                <?php }else{?>
                                                <div id="toboggan-login-link-container" class="toboggan-login-link-container"><a href="/user/login?destination=node/add/project" id="toboggan-login-link" class="toboggan-login-link">登陆 / 注册</a></div><div id="toboggan-login" class="user-login-block"><div class="form-item form-type-textfield form-item-name">
                                                        <label for="edit-name--2">用户名或邮箱 <span class="form-required" title="此项必填。">*</span></label>
                                                        <input type="text" id="edit-name--2" name="name" value="" size="15" maxlength="60" class="form-text required" />
                                                    </div>
                                                    <div class="form-item form-type-password form-item-pass">
                                                        <label for="edit-pass">密码 <span class="form-required" title="此项必填。">*</span></label>
                                                        <input type="password" id="edit-pass" name="pass" size="15" maxlength="128" class="form-text required" />
                                                    </div>
                                                    <div class="item-list"><ul><li class="first"><a href="/user/register" title="创建新用户帐号">创建新帐号</a></li>
                                                            <li class="last"><a href="/user/password" title="通过电子邮件重设密码。">重设密码</a></li>
                                                        </ul></div><input type="hidden" name="form_build_id" value="form-MfBoTBfZxwRHzVeqYdMWtTiz1F7K1QbZjFEgqZ44VFw" />
                                                    <input type="hidden" name="form_id" value="user_login_block" />
                                                    <div class="form-actions form-wrapper" id="edit-actions--2"><input type="submit" id="edit-submit--2" name="op" value="登录" class="form-submit" /></div></div><?php }?></div></div></form></div>
                            </div>  </div>
                    </div>
                </div>

            </div><!-- EOF: #header-menu-inside -->

        </div><!-- EOF: #header-menu -->

        <!-- #banner -->
        <div id="banner">




        </div><!-- EOF: #banner -->


        <!-- #content -->
        <div id="content">
            <!-- #content-inside -->
            <div id="content-inside" class="container_12 clearfix">


                <div id="main" class="grid_8">

                    <div class="breadcrumb"><a href="/../Thinkphp/Home/user/login">首页</a> <span class="breadcrumb-separator">/</span>创建 模块</div>            

                    <div id="console" class="clearfix">
                        <div class="messages warning">
                            <h2 class="element-invisible">警告信息</h2>
                            <ul>
                                <li><strong>感谢您花时间来分享你的经验. 为了保证大家的学习质量. 您添加或者修改的内容会被审核后发布</strong></li>
                                <li><strong>你当前尚未<a href="/user/login">登陆</a>, 你所添加/修改的内容将无法在你的个人信息记录.</strong></li>
                            </ul>
                        </div>
                    </div>



                    <h1>创建 模块</h1>


                    <div class="region region-content">
                        <div id="block-system-main" class="block block-system">


                            <div class="content">
                                <form class="node-form node-project-form" enctype="multipart/form-data" action="<?php print U('Home/module/doadd');?>" method="post" id="project-node-form" accept-charset="UTF-8"><div><div class="form-item form-type-textfield form-item-module-name">
                                            <label for="edit-module-name">模块名 </label>
                                            <input type="text" id="edit-module-name" name="title" value="" size="60" maxlength="60" class="form-text form-autocomplete" /><input type="hidden" id="edit-module-name-autocomplete" value="http://www.drupalmodule.cn/projectlist/autocomplete" disabled="disabled" class="autocomplete" />
                                        </div>
                                        <input type="hidden" name="changed" value="" />
                                        <input type="hidden" name="form_build_id" value="form-e8ZUwEDzL6eTbSavQ60lbLSL-JZQpPqxPH3uDAPUl-w" />
                                        <input type="hidden" name="form_id" value="project_node_form" />
                                        <div class="field-type-taxonomy-term-reference field-name-field-version field-widget-options-select form-wrapper" id="edit-field-version"><div class="form-item form-type-select form-item-field-version-und">
                                                <label for="edit-field-version-und">版本 <span class="form-required" title="此项必填。">*</span></label>
                                                <select class="chosen-widget form-select required" id="edit-field-version-und" name="version"><option value="1">Drupal 6</option><option value="2" selected="selected">Drupal 7</option><option value="3">Drupal 8</option></select>
                                            </div>
                                        </div><div class="field-type-taxonomy-term-reference field-name-field-category field-widget-options-select form-wrapper" id="edit-field-category"><div class="form-item form-type-select form-item-field-category-und">
                                                <label for="edit-field-category-und">模块分类 <span class="form-required" title="此项必填。">*</span></label>
                                                <select class="chosen-widget form-select required" multiple="multiple" name="category" id="edit-field-category-und"><option value='1'>手机</option><option value='2'>字段</option><option value='3'>安全</option></select>
                                            </div>
                                        </div><div class="field-type-image field-name-field-module-image field-widget-image-image form-wrapper" id="edit-field-module-image"><div id="edit-field-module-image-und-ajax-wrapper"><fieldset id="edit-field-module-image-und" class="form-wrapper"><legend><span class="fieldset-legend">模块图片</span></legend><div class="fieldset-wrapper"><div class="form-item form-type-managed-file form-item-field-module-image-und-0">
                                                            <label for="edit-field-module-image-und-0">添加一个新的文件 </label>
                                                            <div class="image-widget form-managed-file clearfix"><div class="image-widget-data"><input type="file" id="edit-field-module-image-und-0-upload" name="img" size="22" class="form-file" /><input type="submit" id="edit-field-module-image-und-0-upload-button" name="field_module_image_und_0_upload_button" value="上传" class="form-submit" /><input type="hidden" name="field_module_image[und][0][_weight]" value="0" />
                                                                    <input type="hidden" name="field_module_image[und][0][fid]" value="0" />
                                                                    <input type="hidden" name="field_module_image[und][0][display]" value="1" />
                                                                </div></div>
                                                            <div class="description">文件必须小于 <strong>2 MB</strong>。<br />允许的文件类型：<strong>png gif jpg jpeg</strong>。</div>
                                                        </div>
                                                    </div></fieldset>
                                            </div></div><div class="field-type-text-with-summary field-name-field-module-discription field-widget-text-textarea-with-summary form-wrapper" id="edit-field-module-discription"><div id="field-module-discription-add-more-wrapper"><div class="text-format-wrapper"><div class="text-summary-wrapper"><div class="form-item form-type-textarea form-item-field-module-discription-und-0-summary">
                                                            <label for="edit-field-module-discription-und-0-summary">摘要 </label>
                                                            <div class="form-textarea-wrapper resizable"><textarea class="text-summary form-textarea" id="edit-field-module-discription-und-0-summary" name="bodys" cols="60" rows="5"></textarea></div>
                                                            <div class="description">留空以使用全文修剪版本作为摘要。</div>
                                                        </div>
                                                    </div><div class="form-item form-type-textarea form-item-field-module-discription-und-0-value">
                                                        <label for="edit-field-module-discription-und-0-value">模块描述 <span class="form-required" title="此项必填。">*</span></label>
                                                        <div class="form-textarea-wrapper"><textarea class="text-full form-textarea required" id="editor_1" name="body" cols="60" rows="15"></textarea></div>
                                                    </div>
                                                   
                                                    </div>
                                            </div></div><div class="field-type-vud-field field-name-field-module-vote field-widget-vud-field-default-widget form-wrapper" id="edit-field-module-vote"><div id="field-module-vote-add-more-wrapper"></div></div><fieldset class="captcha form-wrapper"><legend><span class="fieldset-legend">验证码</span></legend><div class="fieldset-wrapper"><div class="fieldset-description">This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.</div><input type="hidden" name="captcha_sid" value="300646" />
                                                <input type="hidden" name="captcha_token" value="bfd70e60507cb19edc28174fbc918e3d" />
                                                <img src="<?php print U('Home/user/captcha');?>" width="180" height="60" alt="图形验证" title="图形验证" onclick="this.src='<?php print U('Home/user/captcha');?>?rnd=' + Math.random();" /><div class="form-item form-type-textfield form-item-captcha-response">
                                                    <label for="edit-captcha-response">图片中的代码是什么？ <span class="form-required" title="此项必填。">*</span></label>
                                                    <input type="text" id="edit-captcha-response" name="captcha" value="" size="15" maxlength="128" class="form-text required" />
                                                    <div class="description">键入显示在图片中的字符</div>
                                                </div>
                                            </div></fieldset>
                                        <h2 class="element-invisible">垂直标签</h2><div class="vertical-tabs-panes"><input class="vertical-tabs-active-tab" type="hidden" name="additional_settings__active_tab" value="" />
                                        </div><div class="form-actions form-wrapper" id="edit-actions"><input type="submit" id="edit-submit" name="op" value="保存" class="form-submit" /><input type="submit" id="edit-preview" name="op" value="预览" class="form-submit" /></div></div></form></div>
                        </div>  </div>


                </div><!-- EOF: #main -->

                <!-- #sidebar-second -->
                <div id="sidebar-second" class="grid_4">
                    <div class="region region-sidebar-second">
                        <div id="block-dm-global-sidebar-menu" class="block block-dm-global">


                            <div class="content">
                                <div class="item-list"><ul><li class="first"><a href="/../Thinkphp/Home/module/add" rel="nofollow">添加一个模块</a></li>
                                        <li class="last"><a href="/../Thinkphp/Home/module/feedback" rel="nofollow">模块添加申请</a></li>
                                    </ul></div></div>
                        </div><div id="block-block-4" class="block block-block">

                            <h2>求关注</h2>

                            <div class="content">
                                <h3><strong>&nbsp; &nbsp;微信(订阅号)</strong></h3><p><img alt="" src="/../Thinkphp/Public/Home/Picture/Picture/20133110140122.jpg" style=" width: 150px;"></p></div>
                        </div>  </div>
                </div><!-- EOF: #sidebar-second -->


            </div><!-- EOF: #content-inside -->

        </div><!-- EOF: #content -->

        <!-- #footer -->    
        <div id="footer">
            <!-- #footer-inside -->
            <div id="footer-inside" class="container_12 clearfix">

                <div class="footer-area grid_4">
                    <div class="region region-footer-first">
                        <div id="block-block-1" class="block block-block">


                            <div class="content">
                                <p>联系邮箱: <a href="mailto:zhouitpro@gmail.com">zhouitpro@gmail.com</a></p><p>技术联盟: &nbsp;<a href="http://drupalchina.cn">Drupal 中国</a> &nbsp; &nbsp; <a href="http://www.davyin.cn">DAVYIN</a>&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://responsive.cn/">中国响应式</a>&nbsp; &nbsp;<a href="http://www.xiukun.me">博客</a></p><p>浙ICP备11000198号-2​</p></div>
                        </div>  </div>
                </div><!-- EOF: .footer-area -->

                <div class="footer-area grid_4">
                </div><!-- EOF: .footer-area -->

                <div class="footer-area grid_4">
                </div><!-- EOF: .footer-area -->

            </div><!-- EOF: #footer-inside -->

        </div><!-- EOF: #footer -->
<!--        <script type="text/javascript" src="./None/js_Rk5YIkK6m2gKTGH-GrMu0pM_PlMKXnI0ktQUgXw1XgA.js"></script>
        <script type="text/javascript" src="./None/js_loJJMZ-yLpCFnc5Htc8xgIMfdfNbw5E30CdocHWSiaM.js"></script>-->
    </body>
</html>